package com.yanqu.road.logic.sort;

import com.yanqu.road.entity.activity.UserActivityConditionData;

import java.util.Comparator;

public class UserActivityConditionDataSort implements Comparator<UserActivityConditionData> {
    @Override
    public int compare(UserActivityConditionData o1, UserActivityConditionData o2) {
        return o2.getPreValue().compareTo(o1.getPreValue());
    }
}
